<?php

/*
 * gpa_new Description
 * date 16 Feb 10
 * time 15:16:38
 * @$package
 * @name edit_html
 * @filesource edit_html.php
 * @author Hanny Setiawan
 */

?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<title><?php echo $page_title; ?></title>
<script src="<?php echo getJsUrl(); ?>jquery.js" type="text/javascript"></script>
<link rel="stylesheet" href="<?php echo getCssUrl(); ?>home/home.css" type="text/css">
<link rel="stylesheet" href="<?php echo getAppCssUrl(); ?>user.css" type="text/css">

<!-- start jQuery menu -->
<link type="text/css" href="<?php echo getCssUrl(); ?>menu_apycom/menu.css" rel="stylesheet" />
<script type="text/javascript" src="<?php echo getJsUrl(); ?>menu_apycom/menu.js"></script>
<!-- end of jQuery menu -->

</head>

<body>

<div id="root">
    <div id="Table_01">
        <div id="index">
    	<div id="leftTop">
            <img class="logo" src="<?php echo getImgUrl(); ?>/home/logogpa.png" width="310" height="90" alt="Logo GPA">
        </div>
  		<div id="rightTop">
        	<div id="rTop">
            	<div class="login">
                	<div class="login-text">
                		<?php echo $usermenus; ?>
                    </div>
                    <div class="login-box">
                    	<input name="login-field" type="text" maxlength="30">
                    </div>
                </div>
            </div>
        	<div id="rBottom">
        		<div id="menu">
				<?php echo $mainmenus; ?>
                </div>
        	</div>
    	</div>
	</div>
        <div id="index002">
            <div id="add-menu">
                <?php if(@$self_profile) { ?>
                <div id="add-menu-link">
                    <a href="<?php echo getHttpUrl(); ?>user/profile/">Profile Overview</a> |
                </div>
                <div id="add-menu-link">
                    <a href="<?php echo getHttpUrl(); ?>user/edit/">Edit Profile</a> |
                </div>
                <div id="add-menu-link">
                    <a href="<?php echo getHttpUrl(); ?>user/tools/">Tools</a> |
                </div>
                <div id="add-menu-link">
                    <a href="<?php echo getHttpUrl(); ?>user/albums/">Albums</a> |
                </div>
                <div id="add-menu-link">
                    <a href="<?php echo getHttpUrl(); ?>user/messages/">Messages</a> |
                </div>
                <div id="add-menu-link">
                    <a href="<?php echo getHttpUrl(); ?>user/avatar/">Avatar</a> |
                </div>
                <div id="add-menu-link">
                    <a href="<?php echo getHttpUrl(); ?>user/upgrade/">UPGRADE MEMBERSHIP!</a>
                </div>
                <?php } ?>
            </div>
            <div class="content">
                <h3>Edit Profiles</h3>
                <p><?php echo $response; ?></p>
                <form action="<?php echo getAppUrl(); ?>" method="post" enctype="multipart/form-data">
                <div id="register-form">
                   <?php if(!$user_datas['verified']): ?>
                   <h3>ID Verification</h3>
                   <div id="verify-id" style="display: block;">
                   <br/>
                   <table border="0" style="width:890px; background-color: #121212; border:1px solid #1e1e1e; padding: 5px;">
                       <tr>
                           <td>
                           <table width="100%" border="0" cellpadding="0">
                               <tbody>
                                   <tr>
                                       <td>
                                           <h3>Identity (Indonesia : KTP) Verification</h3>

                                           <p>Although GPAPhotography.com is online media, but the community is not GPAPhotography.com
                                               virtual communities and unclear. Some members never met face GPAPhotography.com
                                               and activities together. Some of the other is a professional photographer or a journalist
                                               whose work we often encounter in various media. The work was uploaded to GPAPhotography.com
                                               not just idly by, but rather as works of photography who want to
                                               shared and criticized together. At each work uploaded, inherent rights of creative works
                                               intellectual property owned by his photographer. GPAPhotography.com very uphold the rights
                                               these works. Therefore, we urge you to upload your self-identity
                                               (ID Card (Indonesia : KTP) or Passport) account, and include full name according to your identity card.
                                           </p>

                                           <p>Identity that you can upload only ID (Indonesia : KTP) or Passport. Upload in a measure that can be read easily. The maximum length is 500 pixels, in JPG format.</p>

                                           <h4>Upload Your ID Card (Indonesia : KTP)</h4>

                                           <p>Before you upload a copy of your ID card (Indonesia : KTP), change your name first as it appears on your identity card.
                                               Once the verification process is approved by GPAPhotography.com Administrator, you can no longer change your name.
                                           </p>
                                               <input name="reg_idcard" size="50" type="file"><br/>
                                               <br/> types of files: JPG, the maximum size of 300 KB. <br/>
                                               You simply upload one side of your identity card that contains your name.
                                               <br/> Do not upload a copy of identity card which has been disguised by the process of digital though. We're going to reject it!
                                               <br/>

                                           <p> <b> Description: </b> </p> GPAPhotography.com Administrator <p> ensure that the data you submit will only be used for identification purposes
                                                   members GPAPhotography.com, and is not used for other purposes, and will not be provided to third parties
                                                   for any reason.
                                               </p>
                                       </td>
                                   </tr>
                               </tbody>
                           </table>
                           </td>
                       </tr>
                   </table>
                   </div>
                   <?php endif; ?>
                    <table style="width:890px; background-color: #121212; border:1px solid #1a1a1a; padding: 5px; margin-top: 10px;">
                        <tbody>
                            <tr>
                                <td width="150"><b>Your full name:</b></td>
                                <td>
                                    <input id="reg_fullname" name="reg_fullname" value="<?php echo $user_datas['name'] ?>" class="textbox" style="width: 300px" type="text"/>
                                    &nbsp; &nbsp;
                                    <span id="firstnameinfo"></span>
                                </td>
                            </tr>
                            <tr>
                                <td><b>Your e-mail:</b></td>
                                <td><input id="reg_email" name="reg_email" value="<?php echo $user_datas['email'] ?>" class="textbox" style="width: 300px" type="text"/>
                                    &nbsp; &nbsp;
                                    <span id="emailinfo"></span>
                                </td>
                            </tr>
                            <tr>
                                <td>&nbsp;</td>
                                <td><input id="reg_display_email" name="reg_display_email" value="1" type="checkbox" <?php echo(@$user_datas['display_email']?' checked="checked"':'') ?>/>&nbsp;Display Email
                                    &nbsp; &nbsp;
                                    <span id="emailinfo"></span>
                                </td>
                            </tr>
                        </tbody>
                    </table>

                    <h4>Screen name and username</h4>
                    <p>
                        This information will be visible to other members of the site. The screen name can be either your full name, or your nickname.
                        The username will be visible in the URL (address) to your profile/homepage on GPA Photography.
                    </p>
                    <table style="width:890px; background-color: #121212; border:1px solid #1a1a1a; padding: 5px;">
                        <tbody>
                            <tr>
                                <td width="150"><b>Screen name:</b></td>
                                <td width="320">
                                    <input id="reg_screenname" name="reg_screenname" value="<?php echo $user_datas['nickname'] ?>" class="textbox" style="width: 300px;" type="text">
                                </td>
                                <td>
                                    <span id="screennameinfo"></span><span id="usefullname" style="display: none;"><a href="javascript:void(0)" onclick="document.getElementById('reg_screenname').value = document.getElementById('reg_firstname').value + ' ' + document.getElementById('reg_surname').value;validateScreenname();document.getElementById('usefullname').style.display = 'none';" style="border-bottom: 1px dotted rgb(68, 68, 68);">Click here to use full name</a></span>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <b>Username:</b>
                                </td>
                                <td style="font-size: 9px">
                                    <!--http:// --><input id="reg_username" name="reg_username" maxlength="20" value="<?php echo $user_datas['username'] ?>" style="width: 150px;" type="hidden"/><?php echo $user_datas['username'] ?><!-- .gpaphotography.com-->
                                </td>
                                <td>
                                    <span id="usernameinfo" style="font-size: 10px;">Only letters, numbers and underscores allowed. 4-20 characters.</span>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                    <h4>Password</h4>
                    <p>
                      Your password will be encrypted and the crew cannot give it to you if you lose it. The only way to reset a password is by providing a correct e-mail address and then using the password retrival feature.
                      Never give your password to anyone. We will never ask you for your password! If you suspect it is in the wrong hands, immediately notify the site crew and reset your password at the login page.
                   </p>
                   <table style="width:890px; background-color: #121212; border:1px solid #1e1e1e; padding: 5px;">
                       <tbody>
                           <tr>
                               <td width="150">
                                   <b>New Password:</b>
                               </td>
                               <td width="320">
                                   <input id="reg_pw1" name="reg_pw1" class="textbox" style="width: 300px;" type="password">
                               </td>
                               <td>
                                   <span id="pw1info" style="font-size: 10px;">Must be at least 6 characters, no more than 15 characters.</span>
                               </td>
                           </tr>
                           <tr>
                               <td width="150">
                                   <b>Repeat New password:</b>
                               </td>
                               <td width="320">
                                   <input id="reg_pw2" name="reg_pw2" class="textbox" style="width: 300px;" type="password">
                               </td>
                               <td>
                                   <span id="pw2info"></span>
                               </td>
                           </tr>
                       </tbody>
                   </table>

                   <h4>Public information</h4>
                   <p>
                       These fields include information about you that will be visible to all members on your profile. Only country must be filled in.
                   </p>
                   <table>
                       <tbody>
                           <tr>
                               <td width="150">
                                   <b>Country:</b>
                               </td>
                               <td width="320">
                                   <select id="reg_country" name="reg_country" class="dark">
                                       <option value="">-- Please select country --</option>
                                       <option value="Indonesia" selected="selected">Indonesia</option>
                                   </select>
                               </td>
                               <td>
                                   <span id="countryinfo"></span>
                               </td>
                           </tr>
                           <tr>
                               <td>
                                   <b>Province:</b>
                               </td>
                               <td width="320">
                                   <input id="reg_province" name="reg_province" class="textbox" value="<?php echo $user_datas['province'] ?>" style="width: 300px;" type="text">
                               </td>
                               <td>

                               </td>
                           </tr>
                           <tr>
                               <td>
                                   <b>Town:</b>
                               </td>
                               <td width="320">
                                   <input id="reg_town" name="reg_town" value="<?php echo $user_datas['city'] ?>" class="textbox" style="width: 300px;" type="text">
                               </td>
                               <td>

                               </td>
                           </tr>
                           <tr>
                               <td>
                                   <b>Homepage:</b>
                               </td>
                               <td width="320">
                                   <input id="reg_homepage" name="reg_homepage" class="textbox" style="width: 300px;" value="<?php echo $user_datas['url'] ?>" type="text">
                               </td>
                               <td>
                                
                               </td>
                           </tr>
                       </tbody>
                   </table>
                    <div id="savebutton" style="text-align: right"><input value="Save" class="submit" type="submit"></div>
                </div>
                </form>
            </div>
	</div>
    </div>
</div>
    	<a id="thanks" href="http://apycom.com/">Apycom jQuery Menus</a>
</body>
</html>